package com.seabook.calparser.main;

import org.springframework.mail.javamail.JavaMailSender;
import org.apache.velocity.app.VelocityEngine;

public abstract class AbstractMailSender {
	protected String[] tos;

	protected String cc;
	protected String from;
	protected String subject;
	protected JavaMailSender sender;
	protected VelocityEngine velocityEngine;

	public void setCC(String cc) {
		this.cc = cc;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public void setJavaMailSender(JavaMailSender sender) {
		this.sender = sender;
	}

	public void setTos(String[] tos) {
		this.tos = tos;
	}

	public VelocityEngine getVelocityEngine() {
		return velocityEngine;
	}

	public void setVelocityEngine(VelocityEngine velocityEngine) {
		this.velocityEngine = velocityEngine;
	}
	
}
